package com.chinacoal.microservice.api.fallback;

import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.plugins.Page;
import com.chinacoal.microservice.api.AgentClient;
import com.chinacoal.microservice.model.wofkflow.QueryAgentParam;
import com.chinacoal.microservice.model.wofkflow.entity.AgentEntity;
import com.chinacoal.microservice.util.result.CodeMsg;
import com.chinacoal.microservice.util.result.Result;

/**  
 * @Package: com.chinacoal.microservice.api.fallback.AgentClientFallback
 * @ClassName: AgentClientFallback
 * @ClassDesc: 审批代理Fallback
 * @Createby: sunh
 * @CreatedDate: 2019-11-28 21:21:15
 */  
@Component
public class AgentClientFallback implements AgentClient {

	@Override
	public Result<Page<AgentEntity>> findList(int page, int pageSize, QueryAgentParam param) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<AgentEntity> findOne(Long agentId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> insert(AgentEntity agentEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> update(AgentEntity agentEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> delete(Long agentId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> deleteItem(Long itemId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}
	
}
